//
//  NSDictionary+WKAdd.m
//  SEGWebView
//
//  Created by 山刘 on 2020/3/12.
//

#import "NSDictionary+WKAdd.h"

@implementation NSDictionary (WKAdd)
- (NSString*)toJsonString {
    NSError *parseError = nil;
    NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self options:NSJSONWritingPrettyPrinted error:&parseError];
    return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
}
@end
